package com.kpatil.erp.impl.common;

import com.kpatil.erp.common.HasId;
import com.kpatil.erp.common.HasName;

public class DataBaseAware implements HasName, HasId {

	private long id;
	private String name;

	public DataBaseAware() {
		this.id = 0l;
		this.name = null;
	}

	public DataBaseAware(final long id, final String name) {
		this.id = id;
		this.name = name;
	}

	@Override
	public final long getId() {
		return id;
	}

	public final void setId(long id) {
		this.id = id;
	}

	@Override
	public final String getName() {
		return name;
	}

	public final void setName(String name) {
		this.name = name;
	}

}
